package smartlifev30.com.sdk;

/**
 * @author uesr
 * @date 2018/8/7
 */

public class BaseResponse {

    public int status;

    /**
     * 指明了请求和响应消息的一一对应关系
     */
    public String msg_id;

    /**
     * 0:代表还有后续指令，1:代表结束。沒有该字段时默认为1
     */
    public int end = 1;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMsg_id() {
        return msg_id;
    }

    public void setMsg_id(String msg_id) {
        this.msg_id = msg_id;
    }

    public int getEnd() {
        return end;
    }

    public void setEnd(int end) {
        this.end = end;
    }

    @Override
    public String toString() {
        return "BaseResponse{" +
                "status=" + status +
                ", msg_id='" + msg_id + '\'' +
                ", end=" + end +
                '}';
    }
}
